home *** CD-ROM | disk | FTP | other *** search
/ Multimedia Jumpstart / Multimedia Microsoft Jumpstart Version 1.1a (Microsoft).BIN / develpmt / sdk / vfw11.win / vfwdk / debug.h1_ / debug.bin
Encoding:
Text File  |  1993-11-19  |  1.3 KB  |  34 lines

  1. /****************************************************************************
  2.  *
  3.  *   debug.h
  4.  * 
  5.  *   Debug defines
  6.  *
  7.  *   Microsoft Video for Windows Sample Capture Driver
  8.  *   Chips & Technologies 9001 based frame grabbers.
  9.  *
  10.  ***************************************************************************/
  11. /**************************************************************************
  12.  *
  13.  *  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  14.  *  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  15.  *  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  16.  *  PURPOSE.
  17.  *
  18.  *  Copyright (c) 1992, 1993  Microsoft Corporation.  All Rights Reserved.
  19.  * 
  20.  **************************************************************************/
  21.  
  22.  
  23. #ifdef DEBUG
  24.    #define D1(sz) if (wDebugLevel >= 1) (OutputDebugString("\r\nPCVideo: "),OutputDebugString(sz))
  25.    #define D2(sz) if (wDebugLevel >= 2) (OutputDebugString(" "),OutputDebugString(sz))
  26.    #define D3(sz) if (wDebugLevel >= 3) (OutputDebugString(" "),OutputDebugString(sz))
  27.    #define D4(sz) if (wDebugLevel >= 4) (OutputDebugString(" "),OutputDebugString(sz))
  28. #else
  29.    #define D1(sz) 0
  30.    #define D2(sz) 0
  31.    #define D3(sz) 0
  32.    #define D4(sz) 0
  33. #endif
  34.